package com.eascs.p2p.common.investor.service;

import com.eascs.p2p.common.entity.InvestorBankEntity;
import com.eascs.p2p.common.entity.InvestorEntity;
import com.eascs.p2p.common.vo.ModelResult;

public interface InvestorBankService {

	public ModelResult<Boolean> insertInvestorBank(InvestorBankEntity investorBank);
	
	public ModelResult<Boolean> updateInvestorBank(InvestorBankEntity investorBank);
	
	public ModelResult<InvestorBankEntity> queryInvestorBankById(String id);
	
	public ModelResult<Boolean> investorBindBank(InvestorEntity investor,InvestorBankEntity investorBank);
	
	public ModelResult<InvestorBankEntity> queryInvestorBankByInvestorId(String investorId);
}
